home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 4 / Light ROM 4 - Disc 1.iso / text / maillist / 1996 / 041596.doc / 000294_dwarner@webcom.com _Wed Apr 17 16:31:22 1996.msg < prev    next >
Internet Message Format  |  1996-04-25  |  2KB

  1. Received: from e55.webcom.com (e55.webcom.com [206.2.192.66]) by keeper.albany.net (8.7.5/8.7.5-MZ) with ESMTP id QAA27283 for <DWARNER@ALBANY.NET>; Wed, 17 Apr 1996 16:31:21 -0400 (EDT)
  2. Received: from localhost by e55.webcom.com with SMTP
  3.     (1.37.109.15/16.2) id AA129452739; Wed, 17 Apr 1996 13:25:39 -0700
  4. Date: Wed, 17 Apr 1996 13:25:39 -0700
  5. Errors-To: dwarner@ALBANY.NET
  6. Message-Id: <199604171555.IAA09530@netcom15.netcom.com>
  7. Errors-To: dwarner@ALBANY.NET
  8. Reply-To: lightwave@garcia.com
  9. Originator: lightwave@garcia.com
  10. Sender: lightwave@garcia.com
  11. Precedence: bulk
  12. From: bhood@netcom.com (robert hood)
  13. To: Multiple recipients of list <lightwave@garcia.com>
  14. Subject: Re: Camera motion in ImageFilter - How?
  15. X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
  16. Status: RO
  17. X-Status: 
  18.  
  19. > Another question:
  20. > What would the proper way to access Camera motion data from an image filter
  21. > plug-in?  I know that a procedural motion plug-in gets passed item motion
  22. > access functions but can I get those globally?  Thanks for any help, I have
  23. > checked the docs but couldn't find an answer for this.
  24.  
  25. Well, if you were using a BML/IF (Image Filter) script, it would be as easy
  26. as:
  27.  
  28.        var camera = getfirstitem(CAMERA);
  29.        var scene  = getfirstitem(SCENE);
  30.        var frame,xyz[3];
  31.  
  32.        for frame = 1 to scene.totalFrames do
  33.        begin
  34.            xyz = camera.param(POSITION,(frame / scene.fps));
  35.            info("Camera position at frame ",
  36.                   frame,
  37.                   " is <",xyz[1],",",xyz[2],",",xyz[3],">");
  38.        end
  39.        
  40. Sorry.  Couldn't help myself.  =|^)
  41.  
  42. Render me gone,                  |||
  43. Bob                            ^(===)^
  44. ----------------------------oOO--(_)--OOo--------------------------------------
  45. (Phone) 1.303.989.4191                                     (FAX) 1.303.727.7555
  46. (Email) bhood@netcom.com             (WWW) http://www.mktplace.net/people/bhood
  47.         vvisions@dimensional.com           http://www.dimensional.com/~vvisions
  48. -------------------------------------------------------------------------------
  49.                 "The clue meter is reading zero."  - Dilbert
  50. -------------------------------------------------------------------------------